package com.mybatis.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * user
 * @author xdliu 2019-11-08
 */
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 邮箱
     */
    private String email;

    private UserInfo userInfo;

    private List<ShipAddress> shipAddress;


    public User() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public List<ShipAddress> getShipAddress() {
        return shipAddress;
    }

    public void setShipAddress(List<ShipAddress> shipAddress) {
        this.shipAddress = shipAddress;
    }
}
